﻿<UserControl x:Class="MOJ.Control_MovieDetails"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="500" d:DesignWidth="800">
    <Grid>
        <Grid Name="_Grid_main">
        <Rectangle HorizontalAlignment="Left" Panel.ZIndex="5" Height="210" Margin="10,10,0,0" VerticalAlignment="Top" Width="140" Name="_rect"
                   Fill="White"/>
        <Image HorizontalAlignment="Left" Panel.ZIndex="10" Height="210" Margin="10,10,0,0" VerticalAlignment="Top" Width="140" Name="_image"/>
        
        
        <Label Content="Title: " HorizontalAlignment="Left" Margin="155,10,0,0" VerticalAlignment="Top" HorizontalContentAlignment="Right"
               FontWeight="Bold" FontSize="16" Width="120" Name="_lbl_title" Height="28" />
        <Label Content="Year: " HorizontalAlignment="Right" Margin="0,10,71,0" VerticalAlignment="Top" HorizontalContentAlignment="Right"
        	FontWeight="Bold" FontSize="16" Width="97" Name="_lbl_year" Height="28" />
        <Label Content="Genres: " HorizontalAlignment="Right" Margin="0,43,173,0" VerticalAlignment="Top" HorizontalContentAlignment="Right"
        	FontWeight="Bold" FontSize="16" Width="120" Name="_lbl_genres" Height="28" RenderTransformOrigin="0.833,0.786" />
        <TextBox Height="28" Margin="280,10,173,0" TextWrapping="Wrap" Name="_txtbox_maintitle"
                 Text="MainTitle" VerticalAlignment="Top" FontSize="16"/>
        <TextBox Height="28" Margin="0,10,10,0" TextWrapping="Wrap" MaxLength="4" Name="_txtbox_year"
        	Text="9999" VerticalAlignment="Top" FontSize="16" HorizontalAlignment="Right" Width="56"/>
        <TextBox Height="28" Margin="0,43,10,0" TextWrapping="Wrap" x:Name="_txtbox_genres"
        	Text="Genres" VerticalAlignment="Top" FontSize="16" HorizontalAlignment="Right" Width="158"/>
        
        <GridSplitter HorizontalAlignment="Stretch" Margin="0,230,0,0" VerticalAlignment="Top" Height="2" Name="_plitter"/>

        <!-- Files -->
        <Label Content="Files" Margin="10,237,111,0" VerticalAlignment="Top" HorizontalContentAlignment="Left"
        	FontWeight="Bold" FontSize="16" x:Name="_lbl_files" Height="28" />
        <ListView Margin="10,274,10,10" Name="_listView" />
        <Label Content="Director: " HorizontalAlignment="Left" Margin="155,43,0,0" VerticalAlignment="Top" HorizontalContentAlignment="Right"
        	FontWeight="Bold" FontSize="16" Width="120" x:Name="_lbl_director" Height="28" />
        <TextBox Height="28" Margin="280,43,298,0" TextWrapping="Wrap" x:Name="_txtbox_directors"
        	Text="Directors" VerticalAlignment="Top" FontSize="16"/>
        <Label Content="Writers: " HorizontalAlignment="Left" Margin="155,76,0,0" VerticalAlignment="Top" HorizontalContentAlignment="Right"
        	FontWeight="Bold" FontSize="16" Width="120" x:Name="_lbl_writers" Height="28" />
        <TextBox Height="28" Margin="280,76,298,0" TextWrapping="Wrap" x:Name="_txtbox_writers"
        	Text="Writers" VerticalAlignment="Top" FontSize="16"/>
        <Label Content="Cast: " HorizontalAlignment="Right" Margin="0,76,173,0" VerticalAlignment="Top" HorizontalContentAlignment="Right"
        	FontWeight="Bold" FontSize="16" Width="120" x:Name="_lbl_cast" Height="28" RenderTransformOrigin="0.833,0.786" />
        <ListBox HorizontalAlignment="Right" Height="144" Margin="0,76,10,0" VerticalAlignment="Top" Width="158" Name="_listBox_cast"/>
        <Label Content="Tagline: " HorizontalAlignment="Left" Margin="155,109,0,0" VerticalAlignment="Top" HorizontalContentAlignment="Right"
        	FontWeight="Bold" FontSize="16" Width="120" x:Name="_lbl_tagline" Height="28" />
        <TextBox Height="28" Margin="280,109,173,0" TextWrapping="Wrap" x:Name="_txtbox_tagline"
        	Text="tagline" VerticalAlignment="Top" FontSize="16"/>
        <Button Content="IMDB" Name="_btn_imdb" HorizontalAlignment="Right" Margin="0,200,173,0" VerticalAlignment="Top" Width="75"/>
        <Button Content="TMDB" Name="_btn_tmdb" HorizontalAlignment="Right" Margin="0,175,173,0" VerticalAlignment="Top" Width="75"/>
        <Button Content="Reload Data" Name="_btn_reload" HorizontalAlignment="Right" Margin="0,175,253,0" VerticalAlignment="Top" Width="65" Height="45"/>
        <Button Content="Select Images" Name="_btn_select" Margin="0,175,324,0" VerticalAlignment="Top" Height="45" HorizontalAlignment="Right" Width="65"/>
        <Button Content="A" Name="_btn_add" HorizontalAlignment="Right" Margin="0,244,35,0" VerticalAlignment="Top" Width="20" Height="20"/>
        <Button Content="R" Name="_btn_remove" HorizontalAlignment="Right" Margin="0,244,10,0" VerticalAlignment="Top" Width="20" Height="20"/>
        </Grid>
    </Grid>
</UserControl>
